package inet.app.controller.gcm;

import android.content.Context;
import android.content.Intent;

public final class CommonUtilities {
//    public static final String SERVER_URL = "http://10.0.0.11:8080/GCMServer/notify/GCMBroadcast"; 
    public static final String SERVER_URL = "http://113.160.94.198:1081/GCMServer/notify/";
    public static final String SENDER_ID = "786970305773";
    
    public static final String appName="APPXOSO";
    public static final String TAG = "AndroidHive GCM";

    public static final String DISPLAY_MESSAGE_ACTION ="com.androidhive.pushnotifications.DISPLAY_MESSAGE";
    public static final String EXTRA_MESSAGE = "message";

    public static void displayMessage(Context context, String message) {
        Intent intent = new Intent(DISPLAY_MESSAGE_ACTION);
        intent.putExtra(EXTRA_MESSAGE, message);
        context.sendBroadcast(intent);
    }
}
